<h3>
	<?php echo Araclar::yaz("Yeni Kullanıcı Ekle",'Add New User'); ?>
</h3>
<br /><br />
<?php
if(!empty($uyari)){
	echo "<font color='red'>$uyari</font>";
	echo "<br /><br />";
}
if(!empty($uyari_iyi)){
	echo "<font color='#09bb33'>$uyari_iyi</font>";
	echo "<br /><br />";
}else{

?>
<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'kullanicilar-kisisel-form',
	'enableAjaxValidation'=>false,
)); ?>

	<?php echo $form->errorSummary($model); ?>
	<table width='100%'>
		<tr>
			<td width="250"><?php echo Araclar::yaz("Kullanıcı Adı",'Username'); ?>: </td>
			<td>
				<?php echo $form->textField($model,'kullanici_adi'); ?>
			</td>
		</tr>
		<tr>
			<td width="250"><?php echo Araclar::yaz("Adı",'Firs Name'); ?>: </td>
			<td>
				<?php echo $form->textField($model,'ad'); ?>
			</td>
		</tr>
		<tr bgcolor="#d2dbe3">
			<td><?php echo Araclar::yaz("Soyadı",'Last Name'); ?>:</td>
			<td>
				<?php echo $form->textField($model,'soyad'); ?>
			</td>
		</tr>
		<tr>
			<td><?php echo Araclar::yaz("Şifre",'Password'); ?>:</td>
			<td>
				<?php echo $form->passwordField($model,'sifre1'); ?>
			</td>
		</tr>
		<tr bgcolor="#d2dbe3">
			<td><?php echo Araclar::yaz("Şifre Tekrar",'Password Again'); ?>:</td>
			<td>
				<?php echo $form->passwordField($model,'sifre2'); ?>
			</td>
		</tr>
		<tr bgcolor="#d2dbe3">
			<td><?php echo Araclar::yaz("Yetki",'Autority'); ?>:</td>
			<td>
				<?php echo $form->dropDownList($model,'yetki', YetkiSeviyesi::diziGetir()); ?>
			</td>
		</tr>
	</table>


	<div class="row buttons" align="center">
		<?php echo CHtml::submitButton(Araclar::yaz('Kaydet','Save')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->
<?php
}
?>